// 基本的地址
let baseUrl = ''
let userImageUpload = ''
let goodsImageUpload = ''
let setImageUpload = ''
// 不同环境下url的接口
switch (process.env.NODE_ENV) {
    case 'development':

        // baseUrl='http://192.168.0.102:7777'
        // baseUrl = 'http://192.168.43.83:7777'
        baseUrl = "http://10.31.20.75:7777";
        // baseUrl = 'http://192.168.1.10:7777'

        // 用户图片上传地址
        userImageUpload = baseUrl + '/userImageUpload'

        // 商品图片上传地址
        goodsImageUpload = baseUrl + '/goodsImageUpload'

        // 设置图片上传地址
        setImageUpload = baseUrl + '/setImageUpload'

        break;
    case 'test':
        baseUr = ''
        break;
    case 'production':
        baseUr = ''
        break;
}
export default {
    baseUrl,userImageUpload,goodsImageUpload,setImageUpload
}